// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
thread 'CARJUMP' 

:CARJUMP_11
wait 0 
if and
   Player.Defined($PLAYER_CHAR)
   Actor.Driving($PLAYER_ACTOR)
00DD:   actor $PLAYER_ACTOR driving_car_with_model #WAYFARER
0AB0:   key_pressed 16 
jf @CARJUMP_11 
if 
8AB0:   not key_pressed 88 
jf @CARJUMP_124 
if 
8AB0:   not key_pressed 67 
jf @CARJUMP_145 
1@ = 0.15 
$2657 = 18 
04F7: status_text $2657 type 1 line 1 GXT '' // global_variable 
059C: enable_status_text $2657 flashing 0 // global_variable 
jump @CARJUMP_166 

:CARJUMP_124
wait 0 
1@ = 0.45 
jump @CARJUMP_368 

:CARJUMP_145
wait 0 
1@ = 0.75 
jump @CARJUMP_368 

:CARJUMP_166
wait 0 
0087: 2@ = 1@ // (float) 
2@ *= 133.3333 
0090: $2657 = float 2@ to_integer 
if 
   Actor.Driving($PLAYER_ACTOR)
jf @CARJUMP_564 
if 
8AB0:   not key_pressed 9 
jf @CARJUMP_280 
if 
0AB0:   key_pressed 16 
jf @CARJUMP_337 
if 
  0.75 > 1@ 
jf @CARJUMP_166 
1@ += 0.02 
jump @CARJUMP_166 

:CARJUMP_280
wait 100 
if 
   Actor.Driving($PLAYER_ACTOR)
jf @CARJUMP_564 
if 
0AB0:   key_pressed 16 
jf @CARJUMP_337 
if 
0AB0:   key_pressed 9 
jf @CARJUMP_280 
jump @CARJUMP_166 

:CARJUMP_337
wait 0 
0151: remove_status_text $2657 
if 
8AB0:   not key_pressed 82 
jf @CARJUMP_11 
jump @CARJUMP_368 

:CARJUMP_368
wait 0 
0@ = Actor.CurrentCar($PLAYER_ACTOR)
if or
81F3:   not car 0@ in_air 
04A7:   actor $PLAYER_ACTOR driving_boat 
jf @CARJUMP_11 
0407: store_coords_to 11@ 12@ 13@ from_car 0@ with_offset 0.0 0.0 1@ 
0407: store_coords_to 14@ 15@ 16@ from_car 0@ with_offset 0.0 0.0 0.0 
0063: 11@ -= 14@ // (float) 
0063: 12@ -= 15@ // (float) 
0063: 13@ -= 16@ // (float) 
07D5: set_car 0@ velocity_in_direction_XYZ 11@ 12@ 13@ rotation_velocitiesXY 0.0 0.0 unk 0.0 
if 
04A7:   actor $PLAYER_ACTOR driving_boat 
jf @CARJUMP_11 
0087: 3@ = 1@ // (float) 
3@ *= 5000.0 
0092: 4@ = float 3@ to_integer 
wait 4@ 
jump @CARJUMP_11 

:CARJUMP_564
wait 0 
0151: remove_status_text $2657 
jump @CARJUMP_11 
